---
permalink: "/navigation/navigator/stack/modal-1.xml"
hv_title: "Modal Screen 1"
hv_button_behavior: "close"
---
{% from 'macros/button/index.xml.njk' import button %}
{% from 'macros/description/index.xml.njk' import description %}
{% extends 'templates/scrollview.xml.njk' %}

{% block content %}
  {{ description('This screen was dynamically opened as a modal.') }}
  {{ description('Pushing the button below will push another screen onto the stack.') }}
  {% call button('Push on stack') -%}
    <behavior
      action="push"
      href="/hyperview/public/navigation/navigator/stack/modal-2.xml"
    />
  {%- endcall %}
{% endblock %}
